package com.odianyun.hello.service;

import com.odianyun.project.query.PageQueryArgs;
import com.odianyun.project.query.QueryArgs;

import com.odianyun.project.base.IBaseService;
import com.odianyun.project.base.IEntity;
import com.odianyun.hello.model.PO.CodePO;
import com.odianyun.hello.model.VO.CodeVO;

import java.util.List;
import java.util.Map;

public interface CodeService extends IBaseService<Long, CodePO, IEntity, CodeVO, PageQueryArgs, QueryArgs> {
    List<CodeVO> getStatus();
    Integer getOrderCodeByName(String name);
    Integer getPackageCodeByName(String name);
    Integer getSoItemCodeByName(String name);
    Map<String,String> getOrderStatus();

    List<CodeVO> listByCategory(String pool, String category);
}
